const array = ['2121', '1231', '423', '12312'];
console.log(array.find((item) => {
    return item === '21211';
}));